#pragma once

#include "type.h"
#include "Renderer.h"

namespace RenderSystem
{
	class Shader;

	class D3DRenderer
		: public Renderer
	{
	public:
		D3DRenderer(void);
		virtual ~D3DRenderer(void);

		virtual bool InitRenderer( void );

		virtual void DrawScene( void );

		virtual LPDIRECT3DDEVICE9 GetD3DDevice( void ) const;

		Shader* CreateShaderFromFile( const String& strShaderPath );

	protected:

		LPDIRECT3DDEVICE9			m_pDevice;
	};
}